package hotairballoon.shape.classic;

import graph.Point;

/**
 *
 * @author witas
 */
public class PRS {
    //wspolrzedne punktow konstrukcyjnych P, R, S
//    public double Px = 0;
//    public double Py = 0;
//    public double Rx = 0;
//    public double Ry = 0;
//    public double Sx = 0;
//    public double Sy = 0;
    
    private double Px = 2.64;
    private double Py = 1.7;
    private double Rx = 0;
    private double Ry = 0;
    private double Sx = 3.73;
    private double Sy = 0;

    private Point p = new Point(Px, Py);
	private Point r = new Point(Rx, Ry);
    private Point s = new Point(Sx, Sy);
    
    
    
    public Point getP() {
		return p;
	}

	public void setP(Point p) {
		this.p = p;
	}

	public Point getR() {
		return r;
	}

	public void setR(Point r) {
		this.r = r;
	}

	public Point getS() {
		return s;
	}

	public void setS(Point s) {
		this.s = s;
	}
	
    public PRS getCopy(){
        PRS conf = new PRS();
        conf.Px = this.Px;
        conf.Py = this.Py;
        conf.Rx = this.Rx;
        conf.Ry = this.Ry;
        conf.Sx = this.Sx;
        conf.Sy = this.Sy;
        return conf;
    }
}
